package com.rh.mybatisstudy.dao;

import java.util.List;

import com.rh.mybatisstudy.model.Article;
import com.rh.mybatisstudy.model.Person;

public interface UserMapper {
	public Person selectUserByID(int id);

	public List<Person> selectUsers();

	public void addUser(Person person);

	public void deleteUserByID(int id);

	public void updateUser(Person user);

	public List<Article> getUserArticles(int id);
	
	public Person findUserByLoginName(String userName);
}
